<template>
  <yd-navbar :title="title">
    <div @click="$router.go(-1)" slot="left">
      <yd-navbar-back-icon></yd-navbar-back-icon>
    </div>
    <div slot="right">
      <yd-icon name="share3" size="20px" color="#666"></yd-icon>
    </div>
  </yd-navbar>
</template>
<script>
export default {
  name: 'HeaderNav',
  props: {
    title: {
      type: String
    }
  }
}
</script>
